package com.zq.assistant.ui.widget.recyclerview.adapter;

import android.support.v7.widget.RecyclerView;

/**
 * Created by zhangqiang on 17-7-3.
 */

public class LayoutWrapper<VH extends RecyclerView.ViewHolder,T> {

    public static final int SPAN_MATCH_PARENT = -1;
    public static final int SPAN_DEFAULT  = 1;
    private T data;
    private int layoutId;
    private int spanCount;

    public LayoutWrapper(T data, int layoutId) {
        this(data,layoutId,SPAN_DEFAULT);
    }

    public LayoutWrapper(T data, int layoutId, int spanCount) {
        this.data = data;
        this.layoutId = layoutId;
        this.spanCount = spanCount;
    }

    public T getData() {
        return data;
    }

    public int getLayoutId() {
        return layoutId;
    }

     void bindData(VH viewHolder, T data){

     }
}
